<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            height: 900px;
        }
        #box1{
            background: turquoise;
        }
        #box2{
            background: tomato;
        }
        #box3{
            background: wheat;
        }
    </style>
</head>
<body>
    <a href="#box1">box1</a>
    <a href="#box2">box2</a>
    <a href="#box3">box2</a>
    <div id="box1">

    </div>
    <div id="box2">
        
    </div>
    <div id="box3">
        
    </div>
</body>
</html>